*Kalmoe & Mason - How to Measure Public Support for Political Violence 

*Replication File for 2020 VSG & Lucid Analysis


**DATA QUALITY... --> Vendor Differences...

**Figure 1 created with manual inputs of results below into Word chart data

*Lucid/Nationscape numbers for June/Sept 2020 from Politico https://www.politico.com/news/magazine/2020/10/01/political-violence-424157

*Voter Study Group (YouGov) Dec 2019 numbers from VSG https://www.voterstudygroup.org/blog/has-american-partisanship-gone-too-far


* Sept 2020 VSG/YouGov Data
use "/Users/npkalmoe/Dropbox/Research/A Publishing/A Mason-Kalmoe Extreme Partisanship/VSG 2019 Data & Write-up/DFUN0005_OUTPUT.dta", clear
set more off

svyset [pw=weight]

*Party ID
gen partisan=pid7
recode partisan 1 2 3 5 6 7=1 4 8=0 else=.

*In-Party Violence
gen deminviol=Q64A
recode deminviol 1=0 2=.25 3=.5 4=.75 5=1 else=.
tab deminviol Q64A, miss

gen repinviol=Q64B 
recode repinviol 1=0 2=.25 3=.5 4=.75 5=1 else=.
tab repinviol Q64B, miss

gen inviol=deminviol
replace inviol=repinviol if inviol==.


svy: tab inviol if partisan==1

* Oct 2020 VSG/YouGov
use "/Users/npkalmoe/Dropbox/Research/A Publishing/A Mason-Kalmoe Extreme Partisanship/Oct 20 YG Omnibus (VSG)/DFUN0006_OUTPUT_V13.DTA", clear
set more off

svyset [pw=weight]

gen partisan=pid7
recode partisan 1 2 3 5 6 7=1 4 8=0 else=.

*In-Party Violence
gen deminviol=Q6a
recode deminviol 1=0 2=.25 3=.5 4=.75 5=1 else=.
tab deminviol Q6a, miss

gen repinviol=Q6b 
recode repinviol 1=0 2=.25 3=.5 4=.75 5=1 else=.
tab repinviol Q6b, miss

gen inviol=deminviol
replace inviol=repinviol if inviol==.

svy: tab inviol if partisan==1


*Jan 2020 Lucid Data

use "/Users/npkalmoe/Dropbox/Research/A Publishing/A Mason-Kalmoe Extreme Partisanship/Lucid S20 - NPK Diss & CCES items/Lucid S20.dta", clear
set more off

*Partisanship
gen rep7=q3
recode rep7 1=.67 2=-.67 3 4 5=0
recode rep7 .67=1 if q4==1
recode rep7 -.67=-1 if q5==1
recode rep7 0=.33 if q6==1
recode rep7 0=-.33 if q6==2

gen rep3=rep7
recode rep3 -1/-.01=-1 .01/1=1

gen partisan=rep3
recode partisan 1 -1=1 0=0 else=.

*In-Party Violence
gen inviol=q49
replace inviol=q51 if inviol==.
recode inviol 1=0 2=.25 3=.5 4=.75 5=1 else=.

tab inviol if partisan==1
